package org.linlinjava.litemall.db.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.linlinjava.litemall.db.models.Topic;

public interface TopicService extends IService<Topic> {

    public IPage<Topic> queryList(int offset, int limit);

    public int queryTotal();

    public IPage<Topic> queryRelatedList(Integer id, int offset, int limit) ;

    public IPage<Topic> querySelective(String title, String subtitle, Integer page, Integer limit) ;
}
